/*
 ============================================================================
 Page	     : 160
 Name        : entry.c
 Date	     : 20210403
 Author      : Hbue 18060333
 Copyright   : Your copyright notice
 Description : 出口条件循环
 ============================================================================
 */

#include <stdio.h>

int main(void)
{
	const int secret_code = 13;
	int code_entered = 0;

	printf("To enter the triskaidekaphobia therapy club,\n");
	printf("please enter the secret code number: ");
	scanf("%d", &code_entered);
	while(code_entered != secret_code)
	{
		printf("To enter the triskaidekaphobia therapy club,\n");
		printf("please enter the secret code number: ");
		scanf("%d", &code_entered);
	}
	printf("Congratulations! You are cured!\n");

	return 0;
}

